package com.xuhj;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;

@SpringBootApplication
@EnableHystrixDashboard
//启动后访问 http://localhost:8009/hystrix
// 服务提供者也就是服务端有HystrixCommand注解的才会抓到包，所以必须要启动dept-hystrix-8008服务才会正常监控到请求
public class StartHystrixDashBoard {
    public static void main(String[] args) {
        SpringApplication.run(StartHystrixDashBoard.class);
    }
}
